<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<fieldset>
<legend>{{$contenttitle}}</legend>
<div class="webadd"><form name="form1" method="post" action="">
    <div class="red">{{$showtip}}</div>
	{{if $zwebid}}<input type="hidden" name="zwebid" value="{{$zwebid}}" />{{/if}}
    <table class="table">
    	<tr>
        	<th><span class="xing">*</span>站点名称：</th>
            <td><select name="zsite">
            	{{html_options options=$sitelist selected=$zsite}}
            	</select>
            	<span class="tip">{{$zsite_error}}</span>
                {{if $addsiteA}}<a class="redpad" href="site_add.php">添加站点</a>{{/if}}
            </td>
        </tr>
        <tr>
        	<th><span class="xing">*</span>内容类型：</th>
            <td class="nofloat">
            	<div style="width:500px;">{{html_radios name="ztypeid" options=$ztypelist checked=$ztypeid separator=" "}}</div>
            	<span class="red">{{$typeid_error}}</span>
            </td>
        </tr>
        <tr>
        	<th><span class="xing">*</span>链接地址：</th>
            <td><input type="text" id="siteurl" class="input_4" name="zurl" value="{{$zurl}}" />
            	<div class="red">{{$zurl_error}}</div>
            </td>
        </tr>
        <tr>
        	<th><span class="xing">*</span>网页标题：</th>
            <td><input type="text" class="input_5" name="ztitle" value="{{$ztitle}}" />
            	<span class="red">{{$ztitle_error}}</span>
            </td>
        </tr>
        <tr>
        	<th>网页关键字：</th>
            <td><input type="red" class="input_5" name="zkeyword" value="{{$zkeyword}}" /></td>
        </tr>
        <tr>
        	<th><span class="xing">*</span>网站简介：</th>
            <td><textarea id="siteinfo" class="textarea2" name="zcontent">{{$zcontent}}</textarea>
            	<div class="red">{{$zcontent_error}}</div>
            </td>
        </tr>
    </table>
    <div class="botton">
    	<input id="submit" type="submit" value="提交" />
        <input type="button" value="返回" onclick="history.go(-1)" />
    </div>
</form></div>
</fieldset>
